import asyncio

async def say_hello():
    """打招呼的异步函数"""
    print("Hello")
    # 模拟异步IO操作
    await asyncio.sleep(1)
    print("World")

# 获取事件循环并运行协程
asyncio.run(say_hello())